<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<body >
<div align="center">
<h3>登录信息</h3>
<span th:text="${message}" style="display:inline;color:red;"></span>
<form action="denglu" th:object="${UserB}" method="post">
<p><label>用户ID:</label><input name="userid" type="text"/></p>
<p><label>密&nbsp;&nbsp;&nbsp;&nbsp;码:</label><input name="password" type="password"/></p>
<p><input type="submit" name="login" value="登录" /></p>
<p><input type="submit" name="register" value="注册" /></p>
</form>
</div>
</body>
</html>